﻿using UnityEngine;
using System.Collections;
using FairyGUI;

/// <summary>
/// 游戏
/// </summary>
public class UICreateRoom_Games {

    UICreateRoom_GameHengYangLiuHuQiang _hengYangLiuHuQiang;

	public UICreateRoom_Games(GComponent comp)
    {
        _hengYangLiuHuQiang = new UICreateRoom_GameHengYangLiuHuQiang(comp.GetChild("衡阳6胡抢").asCom);
    }

    public void Show(int game, bool show)
    {
        switch(game)
        {
            case Constants.GAME_HENGYANGLIUHUQIANG:
                _hengYangLiuHuQiang.Show(show);
                break;

            default:
                DebugInfo.Warning("该游戏等待实现");
                break;
        }
    }
}
